<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.ajson.sim.encoder.JSONEncoderForHTML Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson.html">ajson</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson_1_1sim.html">sim</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson_1_1sim_1_1encoder.html">encoder</a></li><li class="navelem"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l.html">JSONEncoderForHTML</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">aestate.ajson.sim.encoder.JSONEncoderForHTML Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for aestate.ajson.sim.encoder.JSONEncoderForHTML:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l__inherit__graph.png" border="0" usemap="#aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_inherit__map" alt="Inheritance graph"/></div>
<map name="aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_inherit__map" id="aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_inherit__map">
<area shape="rect" title=" " alt="" coords="5,608,203,715"/>
<area shape="rect" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html" title=" " alt="" coords="5,131,203,560"/>
<area shape="rect" title=" " alt="" coords="73,5,135,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for aestate.ajson.sim.encoder.JSONEncoderForHTML:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l__coll__graph.png" border="0" usemap="#aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_coll__map" alt="Collaboration graph"/></div>
<map name="aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_coll__map" id="aestate_8ajson_8sim_8encoder_8_j_s_o_n_encoder_for_h_t_m_l_coll__map">
<area shape="rect" title=" " alt="" coords="5,608,203,715"/>
<area shape="rect" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html" title=" " alt="" coords="5,131,203,560"/>
<area shape="rect" title=" " alt="" coords="73,5,135,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4168e16a36d8fc3cc7444227d2bae7cc"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l.html#a4168e16a36d8fc3cc7444227d2bae7cc">encode</a> (self, o)</td></tr>
<tr class="separator:a4168e16a36d8fc3cc7444227d2bae7cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38cdb42cbe8bd2f9847f70a3a96558c5"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l.html#a38cdb42cbe8bd2f9847f70a3a96558c5">iterencode</a> (self, o, _one_shot=False)</td></tr>
<tr class="separator:a38cdb42cbe8bd2f9847f70a3a96558c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html">aestate.ajson.sim.encoder.JSONEncoder</a></td></tr>
<tr class="memitem:a0c3f6f24d00aa7a2b1ce9470f1a6efe2 inherit pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a0c3f6f24d00aa7a2b1ce9470f1a6efe2">__init__</a> (self, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a76bd401ccce9afe492a3f154c2649732">skipkeys</a>=False, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7aee5b2782f40ef4d72d503851b1374f">ensure_ascii</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a419cd5573411b884ac323539c7f95732">check_circular</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a64d11f0c36a7bf647dc056da07efde50">allow_nan</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a0c4c30d816423457fcaa7da462f7947a">sort_keys</a>=False, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#ad5200580b9452095dcc60b6291fd6af1">indent</a>=None, separators=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a2c3b7b319298355a60a6066f2b2c3b01">encoding</a>='utf-8', <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7acfade2d4919ce009c9d5c8f2997eed">default</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#aae323cd86126f73f7c73b083b586b8cd">use_decimal</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7fcbac626b1a5c403a817cd6bb709ab2">namedtuple_as_object</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a633ddfe3c983ce4a93fdf235ee0fc099">tuple_as_array</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#ac8bbef7aabcd869d2308ea1041519f21">bigint_as_string</a>=False, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a293e88bd3c7aecebe0c3c7241f84607b">item_sort_key</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a6c37ac0b7337d5ce4ef7dfaac175a5e9">for_json</a>=False, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a821570aaa0abff1929955586a9807c8b">ignore_nan</a>=False, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#aa8f7b79421dd8ac8c9e2ff43c2639ec6">int_as_string_bitcount</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a64f66aae5f9e1dcb8a4dd0bb830b3025">iterable_as_array</a>=False)</td></tr>
<tr class="separator:a0c3f6f24d00aa7a2b1ce9470f1a6efe2 inherit pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dde5ada97a388f2246cb2693b2fc18 inherit pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a13dde5ada97a388f2246cb2693b2fc18">default</a> (self, o)</td></tr>
<tr class="separator:a13dde5ada97a388f2246cb2693b2fc18 inherit pub_methods_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html">aestate.ajson.sim.encoder.JSONEncoder</a></td></tr>
<tr class="memitem:a76bd401ccce9afe492a3f154c2649732 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a76bd401ccce9afe492a3f154c2649732">skipkeys</a></td></tr>
<tr class="separator:a76bd401ccce9afe492a3f154c2649732 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aee5b2782f40ef4d72d503851b1374f inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7aee5b2782f40ef4d72d503851b1374f">ensure_ascii</a></td></tr>
<tr class="separator:a7aee5b2782f40ef4d72d503851b1374f inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419cd5573411b884ac323539c7f95732 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a419cd5573411b884ac323539c7f95732">check_circular</a></td></tr>
<tr class="separator:a419cd5573411b884ac323539c7f95732 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64d11f0c36a7bf647dc056da07efde50 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a64d11f0c36a7bf647dc056da07efde50">allow_nan</a></td></tr>
<tr class="separator:a64d11f0c36a7bf647dc056da07efde50 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c4c30d816423457fcaa7da462f7947a inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a0c4c30d816423457fcaa7da462f7947a">sort_keys</a></td></tr>
<tr class="separator:a0c4c30d816423457fcaa7da462f7947a inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae323cd86126f73f7c73b083b586b8cd inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#aae323cd86126f73f7c73b083b586b8cd">use_decimal</a></td></tr>
<tr class="separator:aae323cd86126f73f7c73b083b586b8cd inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fcbac626b1a5c403a817cd6bb709ab2 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7fcbac626b1a5c403a817cd6bb709ab2">namedtuple_as_object</a></td></tr>
<tr class="separator:a7fcbac626b1a5c403a817cd6bb709ab2 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a633ddfe3c983ce4a93fdf235ee0fc099 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a633ddfe3c983ce4a93fdf235ee0fc099">tuple_as_array</a></td></tr>
<tr class="separator:a633ddfe3c983ce4a93fdf235ee0fc099 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64f66aae5f9e1dcb8a4dd0bb830b3025 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a64f66aae5f9e1dcb8a4dd0bb830b3025">iterable_as_array</a></td></tr>
<tr class="separator:a64f66aae5f9e1dcb8a4dd0bb830b3025 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8bbef7aabcd869d2308ea1041519f21 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#ac8bbef7aabcd869d2308ea1041519f21">bigint_as_string</a></td></tr>
<tr class="separator:ac8bbef7aabcd869d2308ea1041519f21 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a293e88bd3c7aecebe0c3c7241f84607b inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a293e88bd3c7aecebe0c3c7241f84607b">item_sort_key</a></td></tr>
<tr class="separator:a293e88bd3c7aecebe0c3c7241f84607b inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c37ac0b7337d5ce4ef7dfaac175a5e9 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a6c37ac0b7337d5ce4ef7dfaac175a5e9">for_json</a></td></tr>
<tr class="separator:a6c37ac0b7337d5ce4ef7dfaac175a5e9 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a821570aaa0abff1929955586a9807c8b inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a821570aaa0abff1929955586a9807c8b">ignore_nan</a></td></tr>
<tr class="separator:a821570aaa0abff1929955586a9807c8b inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f7b79421dd8ac8c9e2ff43c2639ec6 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#aa8f7b79421dd8ac8c9e2ff43c2639ec6">int_as_string_bitcount</a></td></tr>
<tr class="separator:aa8f7b79421dd8ac8c9e2ff43c2639ec6 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5200580b9452095dcc60b6291fd6af1 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#ad5200580b9452095dcc60b6291fd6af1">indent</a></td></tr>
<tr class="separator:ad5200580b9452095dcc60b6291fd6af1 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aa535e04b0a06eb839b0b69ae747d2c inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a5aa535e04b0a06eb839b0b69ae747d2c">key_separator</a></td></tr>
<tr class="separator:a5aa535e04b0a06eb839b0b69ae747d2c inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864c4792bbab290c645daf96a3aa0517 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a864c4792bbab290c645daf96a3aa0517">item_separator</a></td></tr>
<tr class="separator:a864c4792bbab290c645daf96a3aa0517 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7acfade2d4919ce009c9d5c8f2997eed inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a7acfade2d4919ce009c9d5c8f2997eed">default</a></td></tr>
<tr class="separator:a7acfade2d4919ce009c9d5c8f2997eed inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c3b7b319298355a60a6066f2b2c3b01 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a2c3b7b319298355a60a6066f2b2c3b01">encoding</a></td></tr>
<tr class="separator:a2c3b7b319298355a60a6066f2b2c3b01 inherit pub_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html">aestate.ajson.sim.encoder.JSONEncoder</a></td></tr>
<tr class="memitem:ae3030b8da3ded4e9ed9ce3b37c931945 inherit pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#ae3030b8da3ded4e9ed9ce3b37c931945">item_separator</a> = ', '</td></tr>
<tr class="separator:ae3030b8da3ded4e9ed9ce3b37c931945 inherit pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ac6fd8cc049d1127c97af0ad7db2d1 inherit pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a02ac6fd8cc049d1127c97af0ad7db2d1">key_separator</a> = ': '</td></tr>
<tr class="separator:a02ac6fd8cc049d1127c97af0ad7db2d1 inherit pub_static_attribs_classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><pre class="fragment">An encoder that produces JSON safe to embed in HTML.

To embed JSON content in, say, a script tag on a web page, the
characters &amp;, &lt; and &gt; should be escaped. They cannot be escaped
with the usual entities (e.g. &amp;amp;) because they are not expanded
within &lt;script&gt; tags.

This class also escapes the line separator and paragraph separator
characters U+2028 and U+2029, irrespective of the ensure_ascii setting,
as these characters are not valid in JavaScript strings (see
http://timelessrepo.com/json-isnt-a-javascript-subset).
</pre> 
<p class="definition">Definition at line <a class="el" href="encoder_8py_source.html#l00383">383</a> of file <a class="el" href="encoder_8py_source.html">encoder.py</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a4168e16a36d8fc3cc7444227d2bae7cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4168e16a36d8fc3cc7444227d2bae7cc">&#9670;&nbsp;</a></span>encode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.ajson.sim.encoder.JSONEncoderForHTML.encode </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>o</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Return a JSON string representation of a Python data structure.

&gt;&gt;&gt; from simplejson import JSONEncoder
&gt;&gt;&gt; JSONEncoder().encode({"foo": ["bar", "baz"]})
'{"foo": ["bar", "baz"]}'</pre> 
<p>Reimplemented from <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#af9687767d2abca400c535271073d86d1">aestate.ajson.sim.encoder.JSONEncoder</a>.</p>

<p class="definition">Definition at line <a class="el" href="encoder_8py_source.html#l00397">397</a> of file <a class="el" href="encoder_8py_source.html">encoder.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l_a4168e16a36d8fc3cc7444227d2bae7cc_cgraph.png" border="0" usemap="#classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l_a4168e16a36d8fc3cc7444227d2bae7cc_cgraph" alt=""/></div>
<map name="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l_a4168e16a36d8fc3cc7444227d2bae7cc_cgraph" id="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder_for_h_t_m_l_a4168e16a36d8fc3cc7444227d2bae7cc_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,220,47"/>
<area shape="rect" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a16574bc45cfbf8b1df83cb78852c00ab" title=" " alt="" coords="268,5,465,47"/>
<area shape="rect" href="namespaceaestate_1_1ajson_1_1sim_1_1encoder.html#a7b82abaf17eba81c0d3b95b02189a27b" title=" " alt="" coords="513,5,711,47"/>
</map>
</div>

</div>
</div>
<a id="a38cdb42cbe8bd2f9847f70a3a96558c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38cdb42cbe8bd2f9847f70a3a96558c5">&#9670;&nbsp;</a></span>iterencode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.ajson.sim.encoder.JSONEncoderForHTML.iterencode </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>_one_shot</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Encode the given object and yield each string
representation as available.

For example::

    for chunk in JSONEncoder().iterencode(bigobject):
mysocket.write(chunk)</pre> 
<p>Reimplemented from <a class="el" href="classaestate_1_1ajson_1_1sim_1_1encoder_1_1_j_s_o_n_encoder.html#a16574bc45cfbf8b1df83cb78852c00ab">aestate.ajson.sim.encoder.JSONEncoder</a>.</p>

<p class="definition">Definition at line <a class="el" href="encoder_8py_source.html#l00406">406</a> of file <a class="el" href="encoder_8py_source.html">encoder.py</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>aestate/ajson/sim/<a class="el" href="encoder_8py_source.html">encoder.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
